package com.moody.calculator;

import java.util.List;
import com.moody.hibernate.domain.CustInfo;

/*
 * Copyright ? Moody analytics   
 *
 * @Title: RiskReportRatingsTransitionMatrixCalculator.java 
 * @Package： com.moody.calculator 
 * @author： Liu Peng
 * @Description: 风险报告评级迁移矩阵计算    
 * @date： 2012-3-2 下午03:18:37
 * @Modified by: Liu Peng 
 * @version V1.0   
 */

public class RiskReportRatingsTransitionMatrixCalculator {
	List<CustInfo> listPrevious;
	List<CustInfo> listCurrent;
	
	public RiskReportRatingsTransitionMatrixCalculator(List<CustInfo> listPrevious, List<CustInfo> listCurrent){
		this.listCurrent = listCurrent;
		this.listPrevious = listPrevious;
	}
	
	public int[][]calculator(){
		int[][] matrix = new int[13][13];
		
		
		
		return matrix;
	}
	
	private int getPDLevelNumber(String PDLevel){
		int number = 12;//表示未评级。对应matirx数组下标。
		if(checkCorrectness(PDLevel)) return number;
		return number;
		
	}
	private boolean checkCorrectness(String PDLevel){
		return true;
	}

}
